Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / DateTimeCellType Class / SetCalendarText Method / SetCalendarText(String[],String[],String[],String[],String,String) Method
Set of day names
Set of month names
Set of abbreviated day names
Set of abbreviated month names
Text for the OK button
Text for the Cancel button


In This Topic
SetCalendarText(String[],String[],String[],String[],String,String) Method
In This Topic
Sets the various text elements for the pop-up calendar, including the day and month names and the button text.
Syntax
'Declaration
 
Public Overloads Sub SetCalendarText( _
   ByVal dayNames() As String, _
   ByVal monthNames() As String, _
   ByVal shortdayNames() As String, _
   ByVal shortmonthNames() As String, _
   ByVal okText As String, _
   ByVal cancelText As String _
) 
 
'Usage
 
Dim instance As DateTimeCellType
Dim dayNames() As String
Dim monthNames() As String
Dim shortdayNames() As String
Dim shortmonthNames() As String
Dim okText As String
Dim cancelText As String
 
instance.SetCalendarText(dayNames, monthNames, shortdayNames, shortmonthNames, okText, cancelText)

Parameters

dayNames
Set of day names
monthNames
Set of month names
shortdayNames
Set of abbreviated day names
shortmonthNames
Set of abbreviated month names
okText
Text for the OK button
cancelText
Text for the Cancel button
See Also